package com.hh.hibernate.util.dto;

import java.util.HashMap;

@SuppressWarnings("serial")
public class ParamMapUtil extends HashMap<String, Object>{
	public ParamMapUtil add(String key , Object object) {
		if (object != null) {
			this.put(key, object);
		}
		return this;
	}
	
	public ParamMapUtil addLike(String key , Object object) {
		if (object != null) {
			this.put(key,new StringBuffer(object+""));
		}
		return this;
	}
}
